<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:c="http://xmlns.jcp.org/jsf/composite"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<link type="text/css" rel="stylesheet"
		href="#{request.contextPath}/css/skytefAcesso.css" />
</h:head>
<h:body>

	<h:form>
	<p:panel header="Resumo do dia: Totais por Hora" style="margin-top:3%;">
	<p:dataTable id="tbMaster" style="margin-top:2%; width:60%;"
		value="#{TotalPedidosBean.dataMaster2}" var="item"
		rowIndexVar="rowIndex" emptyMessage="Nenhum registro encontrado!">

		<p:column headerText="Total" style="font-size:10px">
			<h:outputText  value="Por pedidos" />
		</p:column>

		<p:column headerText="Qtde. Pedidos" style="font-size:10px">
			<h:outputText value="#{item.qtdePedidos} " />
		</p:column>

		<p:column headerText="Qtde. Produtos" style="font-size:10px">
			<h:outputText  value="#{item.qtdeProdutos} " />
		</p:column>

		<p:column headerText="Valor Total R$" style="font-size:10px">
			<h:outputText value="#{item.preco}">
				<f:convertNumber locale="pt_BR" currencyCode="BRL"
					minFractionDigits="2" />
			</h:outputText>
		</p:column>
	</p:dataTable>
	</p:panel>
	
	</h:form>
</h:body>
</html>